package com.cskaoyan.app.bean.vo.adminVo;

import com.cskaoyan.app.bean.po.MarketRole;
import com.cskaoyan.app.mapper.MarketRoleApiMapper;
import com.cskaoyan.app.mapper.MarketRoleFunctionMapper;
import com.cskaoyan.app.mapper.MarketRoleMapper;
import com.cskaoyan.app.mapper.MarketRolePermissionMapper;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import java.util.Iterator;
import java.util.List;
import java.util.stream.Collectors;

/**
 * @author kiggy
 * @since 2022/12/29 23:05
 */
@Component
@Data
@NoArgsConstructor
@AllArgsConstructor
public class AdminPermissions<T> {
    private List<T> systemPermissions; // 角色
    private List<String> assignedPermissions; // api列表
}
